import request from '@/utils/request'

// 获取审核列表
export const Examinelist = (query) => {
  return request({
    url: '/iot/examine/list',
    method: 'get',
    params: query
  })
}


// 新增审核列表
export const addExamine = (data) => {
    return request({
      url: '/iot/examine',
      method: 'post',
      data
    })
  }

// 编辑审核列表
export const editExamine = (data) => {
    return request({
      url: '/iot/examine',
      method: 'put',
      data
    })
  }  

// 删除审核列表
export const delExamine = (id) => {
    return request({
      url: '/iot/examine/' + id,
      method: 'delete'
    })
  }    